package com.learn.repository.system;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.learn.entity.system.SysRestAuth;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 接口权限crud接口
 *
 * @author yaoqihui
 * @version 2022/11/3
 * @see [相关类/方法]
 */
@Repository
public interface SysRestAuthRepository extends BaseMapper<SysRestAuth>
{
	/**
	 * 根据操作员ID查询对应的接口权限列表
	 *
	 * @param operatorId 操作员ID
	 * @return 接口权限列表
	 */
	List<SysRestAuth> queryRestAuthByOperatorId (@Param ("operatorId") String operatorId);
}
